import express from 'express'
const router = express.Router();
import {validataLoginData} from './auth.middleware'
import * as authController from './auth.controller'

router.post('/login',validataLoginData,authController.login)

export default router